#include<iostream>
#include<vector>
using namespace std;

#include<unordered_map>
#include<unordered_set>

#include "HashTable.h"
#include "UnorderedMap.h"
#include "UnorderedSet.h"

void test_unordered_set()
{
    unordered_set<int> s;
    s.insert(4);
    s.insert(2);
    s.insert(1);
    s.insert(3);

    unordered_set<int>::iterator it = s.begin();
    while (it != s.end())
    {
        cout << *it << " ";
        ++it;
    }
    cout << endl;
}

int main()
{
    //test_unordered_set();
    
    //weng::TestHT1();
    //weng::TestHT2();
    //weng::TestHT3();
    //weng::TestHT4();

    //W_HashBucket::TestHT1();
    //W_HashBucket::TestHT2();
    //W_HashBucket::TestHT3();

    weng::test_unordered_set();
    weng::test_unordered_map();
    weng::test_unordered_map2();
    return 0;
}